<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
    <title>选择城市/市场</title>
    
    <link rel="stylesheet" href="/Public/App/css/common.css">
    <link rel="stylesheet" href="/Public/App/css/index-city.css">
    <script src="/Public/App/js/zepto-1.2.0.min.js"></script>
    <script src="/Public/App/js/index-city.js"></script>
</head>
<body>
    <header class="header">
        <a href="javascript:history.go(-1);"></a>
        城市选择
    </header>
    <p class="column-head">当前定位</p>
    <ul class="column-list">
        <li><a href="/index.php?m=App&c=Index&a=getlist&ci=<?php echo (session('ci')); ?>&pl=<?php echo (session('mycity')); ?>&pa=0&ma=20&or=<?php echo ($Thinkphp["cookie"]["or"]); ?>&ke=<?php echo ($Thinkphp["cookie"]["ke"]); ?>&br=<?php echo ($Thinkphp["cookie"]["br"]); ?>&se=<?php echo ($Thinkphp["cookie"]["se"]); ?>&pr=<?php echo ($Thinkphp["cookie"]["pr"]); ?>&mo=<?php echo ($Thinkphp["cookie"]["mo"]); ?>&ta=<?php echo ($Thinkphp["cookie"]["ta"]); ?>&ag=<?php echo ($Thinkphp["cookie"]["ag"]); ?>&lo=<?php echo ($Thinkphp["cookie"]["lo"]); ?>&di=<?php echo ($Thinkphp["cookie"]["di"]); ?>&no=<?php echo ($Thinkphp["cookie"]["no"]); ?>&co=<?php echo ($Thinkphp["cookie"]["co"]); ?>&en=<?php echo ($Thinkphp["cookie"]["en"]); ?>&sea=<?php echo ($Thinkphp["cookie"]["sea"]); ?>&oi=<?php echo ($Thinkphp["cookie"]["oi"]); ?>&con=<?php echo ($Thinkphp["cookie"]["con"]); ?>&wat=<?php echo ($Thinkphp["cookie"]["wat"]); ?>"><?php echo (session('mycity')); ?></a></li>
    </ul>
    <div class="cutline"></div>
    <p id="all" class="column-head">选择城市</p>
    <ul class="column-list">
        <?php if(is_array($citys)): $i = 0; $__LIST__ = $citys;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$city): $mod = ($i % 2 );++$i;?><li><a href="/index.php?m=App&c=Index&a=getlist&ci=1&pl=<?php echo ($city["mkc"]); ?>&pa=0&ma=20&or=<?php echo ($Thinkphp["cookie"]["or"]); ?>&ke=<?php echo ($Thinkphp["cookie"]["ke"]); ?>&br=<?php echo ($Thinkphp["cookie"]["br"]); ?>&se=<?php echo ($Thinkphp["cookie"]["se"]); ?>&pr=<?php echo ($Thinkphp["cookie"]["pr"]); ?>&mo=<?php echo ($Thinkphp["cookie"]["mo"]); ?>&ta=<?php echo ($Thinkphp["cookie"]["ta"]); ?>&ag=<?php echo ($Thinkphp["cookie"]["ag"]); ?>&lo=<?php echo ($Thinkphp["cookie"]["lo"]); ?>&di=<?php echo ($Thinkphp["cookie"]["di"]); ?>&no=<?php echo ($Thinkphp["cookie"]["no"]); ?>&co=<?php echo ($Thinkphp["cookie"]["co"]); ?>&en=<?php echo ($Thinkphp["cookie"]["en"]); ?>&sea=<?php echo ($Thinkphp["cookie"]["sea"]); ?>&oi=<?php echo ($Thinkphp["cookie"]["oi"]); ?>&con=<?php echo ($Thinkphp["cookie"]["con"]); ?>&wat=<?php echo ($Thinkphp["cookie"]["wat"]); ?>"><?php echo ($city["mkc"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
    </ul>
    <p id="a" class="column-head">选择市场</p>
    <ul class="column-list">
        <?php if(is_array($mks)): $k = 0; $__LIST__ = $mks;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$mk): $mod = ($k % 2 );++$k;?><li><a href="/index.php?m=App&c=Index&a=getlist&ci=0&pl=<?php echo ($mk["mkname"]); ?>&pa=0&ma=20&or=<?php echo ($Thinkphp["cookie"]["or"]); ?>&ke=<?php echo ($Thinkphp["cookie"]["ke"]); ?>&br=<?php echo ($Thinkphp["cookie"]["br"]); ?>&se=<?php echo ($Thinkphp["cookie"]["se"]); ?>&pr=<?php echo ($Thinkphp["cookie"]["pr"]); ?>&mo=<?php echo ($Thinkphp["cookie"]["mo"]); ?>&ta=<?php echo ($Thinkphp["cookie"]["ta"]); ?>&ag=<?php echo ($Thinkphp["cookie"]["ag"]); ?>&lo=<?php echo ($Thinkphp["cookie"]["lo"]); ?>&di=<?php echo ($Thinkphp["cookie"]["di"]); ?>&no=<?php echo ($Thinkphp["cookie"]["no"]); ?>&co=<?php echo ($Thinkphp["cookie"]["co"]); ?>&en=<?php echo ($Thinkphp["cookie"]["en"]); ?>&sea=<?php echo ($Thinkphp["cookie"]["sea"]); ?>&oi=<?php echo ($Thinkphp["cookie"]["oi"]); ?>&con=<?php echo ($Thinkphp["cookie"]["con"]); ?>&wat=<?php echo ($Thinkphp["cookie"]["wat"]); ?>"><?php echo ($mk["mkname"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
    </ul>
</body>
</html>